public class ss {
    public static void main(String[] args){
        int m = 1200000;
        int sum = 0;
        for (int i = 1; i <= m; i++) {
            if (m % i == 0){
                System.out.println(i);
                sum++;
            }
        }
        System.out.println(sum);

    }
}
